package cc.mrbird.febs.system.mapper;

import cc.mrbird.febs.system.entity.Drawing;
import cc.mrbird.febs.system.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 *  Mapper
 *
 * @author MrBird
 * @date 2019-07-10 18:56:56
 */
public interface DrawingMapper extends BaseMapper<Drawing> {

    /**
     * 查找图纸详细信息
     *
     * @param page 分页对象
     * @param drawing 图纸对象，用于传递查询条件
     * @return Ipage
     */
    IPage<Drawing> findDrawlingDetailPage(Page page, @Param("drawing") Drawing drawing);

    int batchDelete(String[] ids);
}
